package RadianceM.DistributionSystem.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode
@ToString
@Schema(
        name = "DsClass",
        title = "班级表",
        description = ""
)
@TableName(value = "all_class")
public class DsClass {

    @Schema(title = "班级id", description = "")
    @TableId(value = "class_id")
    private Long id;

    @Schema(title = "专业id", description = "")
    @TableField(value = "major_id")
    private Long majorId;

    @Schema(title = "班级年级", description = "")
    @TableField(value = "dictionary_class_year")
    private Long dictionaryClassYear;

    @Schema(title = "班级负责人", description = "")
    @TableField(value = "class_leader")
    private Long leader;

    @Schema(title = "行政班名称", description = "")
    @TableField(value = "class_number")
    private String number;

    @Schema(title = "专业班名称", description = "")
    @TableField(value = "class_name")
    private String name;

    @Schema(title = "班级简介", description = "")
    @TableField(value = "class_intro")
    private String intro;
}
